import java.util.Arrays;
import java.util.Random;
import java.util.Scanner;

        public class randomSort {
            public static float[] generateRandomNum(int n){
                float[] RandomNum = new float[n];
                Random random = new Random();

                for(int i = 0;i < n;i ++){
                    float Num = random.nextInt(1,100);
                    RandomNum[i] = Num / 100;
                }
                return RandomNum;
            }
            public static void myToString(float[] a) {

                int iMax = a.length - 1;
                if (iMax == -1)
                    System.out.println("输入错误，请重新输入");

                for (float v : a) {
                    System.out.printf("%.2f ", v);
                }
            }
            public static float[] mySort(float[] array) {
                Arrays.sort(array);
                for (int i = 0; i < array.length / 2; i++) {
                    float temp = 0;
                    temp = array[i];
                    array[i] = array[array.length - 1 - i];
                    array[array.length- 1 - i] = temp;
                }
                return array;
            }
            public static void main(String[] args) {
                System.out.println("请输入要生成的随机数的个数：");
                Scanner scan = new Scanner(System.in);
                int n = scan.nextInt();

                myToString(mySort(generateRandomNum(n)));
    }
}